/**
 * @Title: LeaveOutBean.java
 * @Package: com.jason.fingerprint.beans
 * @Descripton: TODO
 * @Author: Jason.Zhang zhangyujn1989ok@gmail.com
 * @Date: 2014年11月18日 下午4:33:54
 * @Version: V1.0
 */
package com.jason.fingerprint.beans;

import org.kymjs.aframe.database.annotate.Id;
import org.kymjs.aframe.database.annotate.Table;

import java.io.Serializable;

/**
 * @ClassName: LeaveOutBean
 * @Description: 外出请假(网络缓存)
 * @Author: Jason.Zhang zhangyujn1989ok@gmail.com
 * @Date: 2014年11月18日 下午4:33:54
 */
@Table(name = "table_leaveOutCache")
public class LeaveOutCacheBean implements Serializable {

	private long serialVersionUID = -47606587295767765L;

	@Id()
	private int leaveoutId;

	/**
	 * 请假、销假记录的ID
	 */
	private String id;
	/**
	 * 申请时间(系统生成时间)
	 */
	private String time;
	/**
	 * 指纹签到 (0:否 1:是)----》是否（开始签到）
	 */
	private String signFlag;
	/**
	 * 矫正人员人员ID
	 */
	private String rymcid;
	/**
	 * 矫正人员姓名
	 */
	private String name;
	/**
	 * 视频拍照图片
	 */
	private String photoUrl;

	/**
	 * 签到类型(0日常，1请假，2解矫，3销假)
	 */
	private String signType;
	/**
	 * 是否请假假请签到(0:否，1：是)----》是否（结束签到）
	 */
	private String isCancel;
	/**
	 * 请假ID(外键，关联本表ID)
	 */
	private String leaveId;
	/**
	 * 是否销假假签到
	 */
	private String isCancelLeave;
	/**
	 * 机构ID
	 */
	private String organid;
	/**
	 * 机构名
	 */
	private String organ;
	
	private int state;//资源当前状态，1-默认，"未上传"，2-"已上传"

	private String createTime;

	private int registrationType = 0; //默认0：指纹签到，1：图片签到


	private String begintime;//开始
	private String endtime;//结束
	private String leavedays;//天数
	private String address;//目的地
	private String leavereason;//原因
	private String sq_sj;//申请时间
	private String sq_organ;//申请机构
	private String sq_yj;//申请意见
	private String sp_sj;//审批时间
	private String sp_organ;//审批机构
	private String sp_yj;//审批备注

	public long getSerialVersionUID() {
		return serialVersionUID;
	}

	public void setSerialVersionUID(long serialVersionUID) {
		this.serialVersionUID = serialVersionUID;
	}

	public String getCreateTime() {
		return createTime;
	}

	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}

	public String getBegintime() {
		return begintime;
	}

	public void setBegintime(String begintime) {
		this.begintime = begintime;
	}

	public String getEndtime() {
		return endtime;
	}

	public void setEndtime(String endtime) {
		this.endtime = endtime;
	}

	public String getLeavedays() {
		return leavedays;
	}

	public void setLeavedays(String leavedays) {
		this.leavedays = leavedays;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getLeavereason() {
		return leavereason;
	}

	public void setLeavereason(String leavereason) {
		this.leavereason = leavereason;
	}

	public String getSq_sj() {
		return sq_sj;
	}

	public void setSq_sj(String sq_sj) {
		this.sq_sj = sq_sj;
	}

	public String getSq_organ() {
		return sq_organ;
	}

	public void setSq_organ(String sq_organ) {
		this.sq_organ = sq_organ;
	}

	public String getSq_yj() {
		return sq_yj;
	}

	public void setSq_yj(String sq_yj) {
		this.sq_yj = sq_yj;
	}

	public String getSp_sj() {
		return sp_sj;
	}

	public void setSp_sj(String sp_sj) {
		this.sp_sj = sp_sj;
	}

	public String getSp_organ() {
		return sp_organ;
	}

	public void setSp_organ(String sp_organ) {
		this.sp_organ = sp_organ;
	}

	public String getSp_yj() {
		return sp_yj;
	}

	public void setSp_yj(String sp_yj) {
		this.sp_yj = sp_yj;
	}

	/**
	 * @return the leaveoutId
	 */
	public int getLeaveoutId() {
		return leaveoutId;
	}
	/**
	 * @param leaveoutId the leaveoutId to set
	 */
	public void setLeaveoutId(int leaveoutId) {
		this.leaveoutId = leaveoutId;
	}
	/**
	 * @return the id
	 */
	public String getId() {
		return id;
	}
	/**
	 * @param id the id to set
	 */
	public void setId(String id) {
		this.id = id;
	}
	/**
	 * @return the time
	 */
	public String getTime() {
		return time;
	}
	/**
	 * @param time the time to set
	 */
	public void setTime(String time) {
		this.time = time;
	}
	/**
	 * @return the signFlag
	 */
	public String getSignFlag() {
		return signFlag;
	}
	/**
	 * @param signFlag the signFlag to set
	 */
	public void setSignFlag(String signFlag) {
		this.signFlag = signFlag;
	}
	/**
	 * @return the rymcid
	 */
	public String getRymcid() {
		return rymcid;
	}
	/**
	 * @param rymcid the rymcid to set
	 */
	public void setRymcid(String rymcid) {
		this.rymcid = rymcid;
	}
	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}
	/**
	 * @param name the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}
	/**
	 * @return the photoUrl
	 */
	public String getPhotoUrl() {
		return photoUrl;
	}
	/**
	 * @param photoUrl the photoUrl to set
	 */
	public void setPhotoUrl(String photoUrl) {
		this.photoUrl = photoUrl;
	}
	/**
	 * @return the signType
	 */
	public String getSignType() {
		return signType;
	}
	/**
	 * @param signType the signType to set
	 */
	public void setSignType(String signType) {
		this.signType = signType;
	}
	/**
	 * @return the isCancel
	 */
	public String getIsCancel() {
		return isCancel;
	}
	/**
	 * @param isCancel the isCancel to set
	 */
	public void setIsCancel(String isCancel) {
		this.isCancel = isCancel;
	}
	/**
	 * @return the leaveId
	 */
	public String getLeaveId() {
		return leaveId;
	}
	/**
	 * @param leaveId the leaveId to set
	 */
	public void setLeaveId(String leaveId) {
		this.leaveId = leaveId;
	}
	/**
	 * @return the isCancelLeave
	 */
	public String getIsCancelLeave() {
		return isCancelLeave;
	}
	/**
	 * @param isCancelLeave the isCancelLeave to set
	 */
	public void setIsCancelLeave(String isCancelLeave) {
		this.isCancelLeave = isCancelLeave;
	}
	/**
	 * @return the organid
	 */
	public String getOrganid() {
		return organid;
	}
	/**
	 * @param organid the organid to set
	 */
	public void setOrganid(String organid) {
		this.organid = organid;
	}
	/**
	 * @return the organ
	 */
	public String getOrgan() {
		return organ;
	}
	/**
	 * @param organ the organ to set
	 */
	public void setOrgan(String organ) {
		this.organ = organ;
	}
	
	/**
	 * @return the state
	 */
	public int getState() {
		return state;
	}
	/**
	 * @param state the state to set
	 */
	public void setState(int state) {
		this.state = state;
	}

	public int getRegistrationType() {
		return registrationType;
	}

	public void setRegistrationType(int registrationType) {
		this.registrationType = registrationType;
	}

	@Override
	public String toString() {
		return "LeaveOutCacheBean{" +
				"leaveoutId=" + leaveoutId +
				", id='" + id + '\'' +
				", time='" + time + '\'' +
				", signFlag='" + signFlag + '\'' +
				", rymcid='" + rymcid + '\'' +
				", name='" + name + '\'' +
				", photoUrl='" + photoUrl + '\'' +
				", signType='" + signType + '\'' +
				", isCancel='" + isCancel + '\'' +
				", leaveId='" + leaveId + '\'' +
				", isCancelLeave='" + isCancelLeave + '\'' +
				", organid='" + organid + '\'' +
				", organ='" + organ + '\'' +
				", state=" + state +
				", createTime='" + createTime + '\'' +
				", registrationType=" + registrationType +
				", begintime='" + begintime + '\'' +
				", endtime='" + endtime + '\'' +
				", leavedays='" + leavedays + '\'' +
				", address='" + address + '\'' +
				", leavereason='" + leavereason + '\'' +
				", sq_sj='" + sq_sj + '\'' +
				", sq_organ='" + sq_organ + '\'' +
				", sq_yj='" + sq_yj + '\'' +
				", sp_sj='" + sp_sj + '\'' +
				", sp_organ='" + sp_organ + '\'' +
				", sp_yj='" + sp_yj + '\'' +
				'}';
	}
}
